package com.keba.lamp.complaint.vo.save;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotEmpty;
import jakarta.validation.constraints.Size;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.ToString;
import lombok.experimental.Accessors;

import java.util.List;

@Data
@NoArgsConstructor
@AllArgsConstructor
@ToString(callSuper = true)
@Accessors(chain = true)
@EqualsAndHashCode
@Builder
@Schema(description = "证据文件")
public class EvidenceVO {

    @Schema(description = "证据分组ID")
    private Long evidenceCaseRelId;

    @Schema(description = "证据文件ID集合")
    @Size(min = 1, message = "请输入证据信息")
    private List<Long> fileIdList;

    @Schema(description = "证据分组名称")
    @NotEmpty(message = "请填写证据分组名称")
    private String componentName;

}
